package t1;

/**
 * 学生类
 *
 */
public class StudentBean {
	private Integer id;
	private String name;
	private String major;

	public StudentBean(String name, String major) {
		this.name = name;
		this.major = major;
	}

	public StudentBean() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

}
